]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Drop dbus naming semantics from Set[Entry|Cursor]Location
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 16 Jan 2017 15:38:07 +0000 (16:38 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 15 May 2017 12:50:02 +0000 (14:50 +0200)
Those functions don't proxy dbus method calls anymore, so just drop the
uppercase 'S'.

https://bugzilla.gnome.org/show_bug.cgi?id=777342

js/ui/keyboard.js

index 56f5d463acecef0e517ff65770d0512a0e8d835f..2eaa51948c6636527bcba8b33b5e7b3689c505c6 100644 (file)
@@ -247,8 +247,8 @@ const Keyboard = new Lang.Class({
                 if (caretRect.width == 0 && caretRect.height == 0)
                     caretRect = focusRect;
 
-                this.SetEntryLocation(focusRect.x, focusRect.y, focusRect.width, focusRect.height);
-                this.SetCursorLocation(caretRect.x, caretRect.y, caretRect.width, caretRect.height);
+                this.setEntryLocation(focusRect.x, focusRect.y, focusRect.width, focusRect.height);
+                this.setCursorLocation(caretRect.x, caretRect.y, caretRect.width, caretRect.height);
             } catch (e) {
                 log('Error updating caret position for OSK: ' + e.message);
             }
@@ -716,14 +716,14 @@ const Keyboard = new Lang.Class({
         this._showIdleId = 0;
     },
 
-    SetCursorLocation: function(x, y, w, h) {
+    setCursorLocation: function(x, y, w, h) {
         if (!this._enableKeyboard)
             return;
 
 //        this._setLocation(x, y);
     },
 
-    SetEntryLocation: function(x, y, w, h) {
+    setEntryLocation: function(x, y, w, h) {
         if (!this._enableKeyboard)
             return;